package com.sw.bbs.board.service;

import com.sw.bbs.board.vo.request.IndexSearchRequest;
import com.sw.bbs.board.vo.response.FollowBoardPostResponse;
import com.sw.bbs.board.vo.response.IndexSearchResponse;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Desc: No Desc
 * @Author: wusonghe
 * @Date: 2019/4/1 16:07
 */
public interface IndexService {

    /**
     * 全网搜索
     * @param request
     * @return
     */
    IndexSearchResponse searchForAll(IndexSearchRequest request);

    /**
     * 关注的板块，对应的帖子
     * @param httpServletRequest
     * @return
     */
    List<FollowBoardPostResponse> queryFollowBoardPost(HttpServletRequest httpServletRequest);
}

